package com.one.square.user.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.one.square.core.entity.SysRole;

import java.util.List;

/**
 * @author cwm
 * @Description
 * @date 2021/10/21 下午12:34
 * @Version 1.0
 */
public interface SysRoleService extends IService<SysRole> {
    /**
     * 根据用户id查询角色集合
     * @param userId
     * @return
     */
    List<SysRole> findByUserId(Long userId);
}
